package com.linsen.core.common.util;

import lombok.Data;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

/**
 * @author zhaoyong
 * @date 2023/3/22
 */
@Data
public final class Page<T> implements Serializable {
    private Long current = 1L;

    private Long size = 20L;

    private List<T> records = Collections.emptyList();//emptyList不能进行增删操作

    private Long total = 0L;
}
